package PO;

import java.io.Serializable;

public class ChoicePO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int StudentID;
	private int LessonID;
	private int Point;
	private int term ;
	
	public int getTerm ()
	{
		
		return term;
	}
	public int getStudentID()
	{
		return (StudentID);
		
	}
	public int getLessonID()
	{
		return (LessonID);
		
	}
	public ResultMessage setPoint(int p)
	{
		Point = p;
		return ResultMessage.success;
	}
	
	public int getPoint ()
	{
		return(Point);
		
	}
	

	public ChoicePO (int StudentID,int LessonID)
	{
		
		this (StudentID, LessonID ,0,201301);
		
	}
	public ChoicePO (int StudentID,int LessonID,int point,int term)
	{

		this.StudentID = StudentID;
		this.LessonID = LessonID;
		this.Point = point;
		this.term = term;
	}
	
}
